Digital Sovereignty for everyone

Abilities

Create Presentation

lh-presentations/create-presentation

Creates a new lh_presentation post as a draft. Builds Gutenberg block markup from a structured slide definition array. Cannot publish — use the WordPress editor to publish when ready. Requires publish_posts. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
title string Yes The presentation title.
slides array of object Yes Array of slide definitions. Replaces all existing slides when used with update-presentation.
loop boolean No Loop the presentation. Defaults to false.
kiosk_mode boolean No Kiosk mode — hides controls, disables keyboard, loops. Defaults to false.
auto_slide integer No Deck-level auto-advance in seconds. 0 = manual. Defaults to 0.
task_id integer No Optional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.
claim_token string No Optional. The claim_token from claim-next-task for task_id. Required when task_id is given.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

Update Presentation

lh-presentations/update-presentation Destructive Idempotent

Updates an existing lh_presentation. Replaces all of its slides; deck settings that are passed are updated and those left out are kept. Never changes post status — use the WordPress editor to publish. The caller must also be able to edit that presentation. Requires publish_posts. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
post_id integer Yes ID of the lh_presentation post to update.
title string No New title. Optional — omit to keep existing title.
slides array of object Yes Array of slide definitions. Replaces all existing slides when used with update-presentation.
loop boolean No Loop the presentation. Defaults to false.
kiosk_mode boolean No Kiosk mode — hides controls, disables keyboard, loops. Defaults to false.
auto_slide integer No Deck-level auto-advance in seconds. 0 = manual. Defaults to 0.
task_id integer No Optional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.
claim_token string No Optional. The claim_token from claim-next-task for task_id. Required when task_id is given.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu ⋮.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.